<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div class="row">
	<div class="btn-group" style="float:right;margin-right:15px;">
		<c:if test="${forPage.pageNo-1>=1}">
			<a href="javascript:goPage(${forPage.pageNo-1});" type="button"
				class="btn btn-white"><i class="fa fa-chevron-left"></i></a>
		</c:if>
		<c:forEach var="item"
			begin="${forPage.beginPageIndex<=forPage.totalPage?forPage.beginPageIndex:0}"
			end="${forPage.endPageIndex}">
			<c:if test="${item==forPage.pageNo}">
				<a class="btn btn-white active">${item}</a>
			</c:if>
			<c:if test="${item !=forPage.pageNo}">
				<a class="btn btn-white" href="javascript:goPage(${item});">${item}</a>
			</c:if>
		</c:forEach>
		<c:if test="${forPage.pageNo+1<=forPage.totalPage}">
			<a type="button" class="btn btn-white"
				href="javascript:goPage(${forPage.pageNo+1});"><i
				class="fa fa-chevron-right"></i></a>
		</c:if>
	</div>
</div>